Modifications of Electronic Properties of Graphene by Boron (B) and Nitrogen (N) Substitution