What you need to know before investing in a property to flip