refactored draw method in table.rb to lower code complexity

First step in refactoring the code base. Focused on the most offending method according to codeclimate (draw in table.rb).

@sandal and everyone else: Feedback is greatly appreciated. However if you're busy don't worry.

This benefits issue #3, since the draw method will have to be adapted in order to implement this enhancement.