added homework, snakeDraft and rectangularize