Compiles correctly with this

still need to add make file and monsters.cpp to the function