A PHP script to solve the famous marbles game in less than half a second.