Added mac generator. commented some unimplmented functions in
testmain.java