Solution draft #1

1st working solution