Update idlegame.h

Added a really long/bad task function. I will probably make it prettier sometime in the future. Added a few other functions to make idlegame.cpp simpler.