Reflection and refraction of light based on labview