Solutions for lab09