Added solution for #51