switch printing in kotlin