hw2 rollercoaster