Algorithm of cute mrcomouse