Attempt at Making it Learn Better Algorithm (failed)