Implemented erasing
Create a brush and eraser cursor
Cleaned up code