Multiple end solutions to the Allen-Cahn equation in $\mathbb R^2$