Adding makefile and gitignore, starting main function