solutions for shell exercises