Added solutions and improved guard example.