BrickBreaker functions with lives and restarting game