modified array2.php and added arrays3-5 and functions1-3 files