added ostream printing to struct Location
corrected the feed method - now adds a node to the tail end instead of to the head