1. Remove function to_hash from array.rb library(not needed)
2. change the name of method call from to_hash to group_by_length