How to read 5 buttons with only 4 I/O lines

It shows you here:-
http://forum.arduino.cc/index.php?topic=141978.0;topicseen