added solutions for H14 (direct encoding), H15 (duplicate)