how to create a php program that finds the most popular string