added jump method to player