Add lab2, fix some small bugs in 'error'
Add README for lab2