.
Are you interested in
Citizenship and Naturalisation http://www.workpermit.com/uk/naturalisation.htm ?
There is a bit of information at that link to begin.
However, I think that you need to look here also:
Permanent Residence - Indefinite Leave to Remain http://www.workpermit.com/uk/permanent.htm .
I might be wrong about this, but I think that your student time in the UK is either not counted or it is not counted fully. If you worked or how much your worked during your time as a student -
I think - will be an important factor.
I hope someone else can jump in and clarify more exactly, but I hope these links will give you a beginning. Using google to search up some of the specific terminology on those pages will lead you to many, many resources.
The Admin