Magneto kata complete solution implemented