Scala Chess Engine