Add Algorithm Interface and Free implementation
Add algorithm support to Economy.java