Artificial neural networks for solving elliptic differential equations with boundary layer