Added problems 1, 2, 3 from JfC in C and J