Changed loop determining largest height
Merge pull request #12 from terrehbyte/hotfix-iss9

Changed loop determining largest height for #9