Laws of Refraction Using Huygens' Principle