stones - simple game in Scala