Implemented cmd line arg, some changes for Linux environment

seeding and starting level can now be set via cmd line

Added some memory clean-up stuff
No mem leaks found when running my tests

changed some minor stuff to make it runable in the student environment