assignment 2 (blocks) completed