Solved 1
Solved 2 and logged instructions to console