Started connecting bits of the recognition algorithm. Alot of work ahead