Changed getBoardString

Method getBoardString
is now using an array + name is changed in order to comply with naming
conventions.