added erase function to canvas