Added more solved problems

Now several problems have been solved using Java and C.