DC calculator for my Algorithms and Data Structures class