Solutions to N Queens in various languages