adding remaining methods from old Racket implementation of numbers and strings