Implemented most basic drawing functions