Great, Yusim! Atomsoft, check out Tip #6, it is exactly what you are looking for!
I actually started with the version of 4x4 keypad they have here. But, doing it that way means using 8 or 9 unique values of resistors to arrive at 17 different voltages. My way rearranges the resistors and lets you use just two resistor values, 1.0K and 220 Ohms. I used Excel to work out which values gave the best overall results.
I knew I had seen a keypad done on a single ADC pin before, probably even this one. I just set out last night to figure out what it would look like and what resistor values to use.
This is a real keeper!
Happy Holidays!
kenjj