Exercise: count words



examples/count-words-in-slices-skeleton/count_words_in_slices_skeleton.go
package main

import (
    "fmt"
)

func main() {
    celestialObjects := []string{"Moon", "Gas", "Asteroid", "Dwarf", "Asteroid", "Moon", "Asteroid"}
    fmt.Println(celestialObjects)

}

examples/count-words-in-slices/count_words_in_slices.out
[Moon Gas Asteroid Dwarf Asteroid Moon Asteroid]
Moon       2
Gas        1
Asteroid   3
Dwarf      1