Compiling code. Thread_sleep is working. Nothing else is tested