lab3 seed code