This is the repo solving a simple problem while interviewing for Gaikai