added last two pages of gen>.java

whole rough needs editing