Remove unnecessary function from p31
Declare functions, add solution comment