added functions to read/write symbols and keywords (unoptimized, i.e. they currently use a lot of space)