Man confesses to inappropriately touching two young girls