the idea had blossomed in spencer 's head on the train ride home , and as soon as she was back in her bedroom , she checked to see if she had enough credits to graduate from rosewood and downloaded an application to penn .