A Study of the Strategy Pattern