add exercise 3, analyzer logger

add log directory to store program logs
add testing for exercise 3
add exercise 4, analyzer exception

add testing for exercise 4 (incomplete)
add test text file for analyzer