refactored draw arc command and drawArc Method
Tested arc draw and selection functions after refactoring