drawChunk function loops through blocks in Chunk correctly