Added linux-optimized version of excercise 2