Please fix up all of the grammar errors in the following paragraph:
We went to the same school and had been in a same class for five years.
We went to the same school and had been in the same class for five years.