Final code

Spaces added