A theoretical study of NO-graphite system