Conditions Wacky

Main body of code has been completed.