SDL maze drawing function written