Added solution for #12