Create challenge2.php

Challenge 2 of coderbyte.com using PHP. Added comments for easier readability but same solution