Added random.h/c and solve.h/c

Did not implement anything yet.