Added toString() method. All good, except can't figure out how to get the very last ']'.