Cursor drawing: 1st commit

Added some code to start drawing the cursor.