Assignment made for the course Articifial Intelligence (MI1305) at Vilnius University