Main.cpp was missing keypressed() function