Text this: Study of magnetic properties of graphene nanostructures and graphene nanoribbons