added solution for array11, formatted comments in array6