cleaned up code and added makefile stuff and shell script
actually added shell script