Updated assignment 2 on blocks