Changed handel_input func. Now dont need player struct