gates of olympus algorithm pvoy