Simple PHP function to generate magic square within GD library