fixed compiler errors
errors chapter one fixed (1.1-1.23)