Homework 2 from Uni and Random preparation