First-Principles Modeling for DNA Bases via Z-shaped Graphene Nanoribbon with a Nanogap