Finished writing, correcting, and testing out the code to see if all possible equations worked, and it did. FInished!