Added properties to create borders around grid

Added four new properties to create a top, bottom, left or right border
around the grid. Also cleaned up code by adding a
drawLineInDirection:fromPoint method that is called by drawRect and the
new properties.