Go to the directory problem2 and copy the two files BistableSolver.m and Bistable.m from the directory problem1.