Initial checkin

Initial checkin of Wu's code plus initial checkin of incomplete modified
version persuant to Lab 6 part 1.