Created pen functions

Created penUp and penDown functions to lift up and bring down the pen
Got rid of magic numbers

Defined constants of UP and DOWN
modularized code