Attempted fraction-in-lowest-terms function. Will continue after continuing through book.