so he learned to be self-sufficient , using his imagination to fill in the long nights when his friends would be gathered at a party , focusing on solving problems while his classmates hung out during recess .