Camera should follow player smoothly

Camera should follow the player smoothly within a scene and stop when it hits a wall.