php arrays, string and objects homework done