A command prompt calculator with self-written solve function