Algebra group structures for groups of order 4