Console hex viewer written in C