Refactored code; smallx10 --> corex10, x10 now uses corex10. So no duplicate code. Started work on generating programs randomly.