added if file

exercise in class