CrackCode exercises, in PHP