add solution for ex 014