Fix for 19

Fixes #19 

Added check if contest is F2F or Code. Please ignore the updated README commit.