Sheriff sensor fixed.

Lab 4 is more or less done.