First batch of code for assignment.