fixed a code block typo
now correctly prints error messages
added tests for drop and repeat
added info about main.c