Added main method.
Added makefile.