Added solution for BadHorse