added implementation for problems 13,14,15