Some solutions (my way) on Go