Added a makefile for convenience
Updated the makefile

- Compiling should work now
- Also fixed all warnings