Removed lambda from main
Added a makefile
Added compiled executable to ignore
Fixed compiler warnings