Simple program to help me with my math homework.