Added a prototype function moveTo(x,y) to Rectangle class to reduce object size.
Added testing method for the project.