Solve Exercises 1-1 to 1-12

It was bugging me and the exercises are simple, so I pumped'em out.