Switch Case Algorithm Example Psychology