renamed main, fixed enum error
added Makefile, make prog to compile