added gradle.properties so that it runs under java 7
Horses output and ordering implemented