*Implemented all CCW functions
*Implemented swapXY function