Updated till solution four
Just have to commit
final solution