Solves happy numbers and numbers to words