Create task-4-simplified.c

Less then 80 lines of code.