Create main.go

Added compile error example from chapter 2.2