Periodic Solutions with Singularities in Two Dimensions in the $n$-body Problem