implemented average fingerprint creation class