Added documentation for RandomGen

Added documentation to RandomGen and changed implementation so that the
x series is no longer stored as a field.

Updated the lexer to Fix an issue with blank lines in brain files, these
are now handled correctly and don't throw an exception