Create mainprogram.java