scala code for Koch and Crab exercises were inverted (fix #372)