I am a high school student who has been playing around with certain mathematical ideas, most recently metric spaces, and I believe I have just "defined" if you will, the following metric space:
Metric space: $(X,d)$
Set: $X={(a,a),(a,b),(b,a),(b,b)}$
Metric:
$$
d((x_1,x_2),(y_1,y_2)) =\left\{ \begin{array}[ll]\\
0 & \text{if } x_1 = y_1 \text{ and } x_2 = y_2.\\
1 & \text{if } x_1 = y_1 \text{ xor } x_2 = y_2.\\
\sqrt{2} & \text{if } x_1 \ne y_1 \text{ and } x_2 \ne y_2.
\end{array}\right.
$$ This seems really interesting to me as it seems to describe the lengths of the sides and diagonals of a square. My questions are these, in no particular order:
1: Is this really a metric space? $d$ seems to fit the triangle inequality, but perhaps I'm missing something.
2: If this is a metric space, does it have any interesting properties? Also, are there any useful metric spaces like this (have any been used to prove/disprove conjectures?
3: Is this similar to any other idea/concept/example in metric spaces that I could look at to gain a deeper appreciation?
4: On a more general note, are there any good introductory texts to metric spaces, that don't require much in the way of current knowledge. I do know some set theory, and can read (some) proofs, if that helps.
Please remember I am only a novice in this area, so please do not assume any background knowledge, outside of the definition of a metric space.