Created a representation function for the sake of printing the database results