Create solveChain.php