add readSpectrum() function
update keywords.txt for syntax highlighting