Abstracted block drawing.
Added user input.

Refactoring variable names.
Fixed block drawing function.