Manhattan Tourist

Solution to Rosalind Textbook Track Problem 5B:  Manhattan Tourist