First draft of assignment 1