Menu implemented, keypressed function not working yet