created lib/fractions.php
added p57 php solution