Simplified code

Simplified random letter and line generation.