add pen size in demo
add eraser mode
add brush mode
eraser mode is combined with line mode
add brush mode necessaries
don't clear the canvas when using undo/redo function in eraser mode