added free and team possibilities to scan, stated to create solve and implemented a queue in it.