Create MyCanvas.java

MyCanvas is a custom canvas that is compatible with swing.