Source code for a technical interview - the code is intentionally bad