Added Makefile for Linux
Made sure that the main file runs both on Linux and Windows
cleaned up some Warnings