Linted code
Added __repr__ function