added XYPoint and Rectangle Class.
filled up  the main function
added new setOrigin2 function.
    [[myRect origin] release];//release origin(created by myRect)