Added algorithm for real-world implementation
1. created basic directory structure as well