Create MyTask.java

Added MyTask interface