Simple text based calculator