Data Structures Practice using php