Needed parentheses around the shift operator when making coordinate
Were not adding the down and right nodes when looping