Added __str__ method for pretty string

Complete with unit tests