Fixed a few issues with the compiler!! :D and the pit trap