Add Q2 answer

Please review, thanks!
Also, I tried to fully conform to the style guide, please let me know if there's anything I'm missing.
This would result in memory leak because pop returns the node. Either you'll need to modify the function to just return the int value in pop or free the node here.