* Added sample solution in scala for castle