Text this: First-principles study of stability and electronic properties of single-element 2D materials