This is a simple implementation of Time Table Generation