Lab 1, Exercise 3: Implemented exploit