adds answers to prepend and curtail functions

Thank you so much for this resource!!