added parts of tutorial and proposed solutions 6