var arr = %w(north east south west); say arr.rand; say arr.rand(2).dump;