Add attendance factory.

Added the attendance_factory.rb files for TDD exercize.