print and input function, and str.format for ship and ui
str.format for board
debug py3 dict.keys() and dict.values() returns a set, added list() to
instances of dict.keys() or dict.values() which needed indexing
debug py3 doesn't like { in strings because {} is used as placeholder