challenge5.py: compresses price histogram if possible.
challenge4.py optimization

rearranged lines in search_nonzero_downward() to drop some unnecessary else.
Add C and C++ versions.

challenge1.cpp: rewrite of challenge4.py in C++
challenge1.c: rewrite of challenge1.cpp in C
challenge2.c: inlined search_nonzero_downward().