Update hofstadter-sequences.lsp

Minor changes plus started refactoring.
Corrected a minor mistake in the test functions.