I recently bought a ball python from a friend, its still young not sure of the age but it can fit in my hand.

It was cold transporting it to my house.

When i got it all set up (heat pad and lamp going) the snake was not moving for a good 2 hrs then starting to be active a bit.

so i let it alone for the night and this morning it was laying in a very odd position, half its body was the right way up (belly down) the other half was fliped over.

I thought it might have died over the night so i touched it and it moved, so again i left it alone while it be while i went to work

well when i returned today it seemed fine had apparently moved around a bit
so i left it alone and checked back later and it appeard to be bitting itself (when i went to touch it it seemed to be kind of gnawing i guess you would say) is this normal behavior?

it had just been feed a few days ago
the tank temp is about 85 degrees with the heat pad and light on one side of the tank

could this be stress?
or maybe it needs feed?

any help would be appreciated