created powerups.c/h and moved powerup code there