added assignment2.php