Fixed bug preventing lambdas from reducing. Added a makefile, which may or may not prove useful.