parsing for the translate command now complete. translate method in Point class also implemented since it is very simple