Converted data types to BigDecimal

Added clear function, began Backspace function, worked ok for positive
integers, needed the round down method of BigDecimal to round positive
numbers down towards 0 and negative numbers up to 0. Knew I'd need
BigDecimal eventually anyway. Backspace function is half complete.